/*
 * Created by JFormDesigner on Fri Feb 04 22:26:43 ART 2011
 */

package ar.com.visualAORE.view.panel;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.ScrollPaneConstants;
import javax.swing.event.CaretEvent;

import ar.com.visualAORE.controller.ReqInternalFrameController;
import ar.com.visualAORE.view.ReqInternalFrame;
import ar.com.visualAORE.view.VisualDesktopFrame;

/**
 * @author Brainrain
 */
public class MapViewPanel extends JPanel {
	VisualDesktopFrame vdf;
	ReqInternalFrame rif;
	ReqInternalFrameController controller;
	
	public MapViewPanel() {
		initComponents();
	}
	public MapViewPanel(VisualDesktopFrame vdf, ReqInternalFrame rif, ReqInternalFrameController controller){
		initComponents();
		this.vdf = vdf;
		this.rif = rif;
		this.controller = controller;
	}

	private void textPaneMapViewCaretUpdate(CaretEvent e) {
		// TODO add your code here
	}

	public JScrollPane getScrollPane(){
		return this.scrollPane1;
	}
	private void initComponents() {
		// JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
		scrollPane1 = new JScrollPane();

		//======== this ========
		setLayout(new BorderLayout());

		//======== scrollPane1 ========
		{
			scrollPane1.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
		}
		add(scrollPane1, BorderLayout.CENTER);
		// JFormDesigner - End of component initialization  //GEN-END:initComponents
	}

	// JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
	private JScrollPane scrollPane1;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
